#!/bin/bash

pushd `dirname $0` &>/dev/null

kubectl create configmap sim-component-configmap-abaqus --from-file=./config/abaqus/default.toml --namespace=sim-component
kubectl apply -f deployment-abaqus.yaml

kubectl create configmap sim-component-configmap-meta --from-file=./config/meta/default.toml --namespace=sim-component
kubectl apply -f deployment-meta.yaml

kubectl create configmap sim-component-configmap-solidworks --from-file=./config/solidworks/default.toml --namespace=sim-component
kubectl apply -f deployment-solidworks.yaml

popd &>/dev/null